{% extends "reporting/reporting_base.html" %}
{% load i18n reporting_extras %}
{% block title %}
Reoprting
{% endblock %}
{% block js %}
<script type="text/javascript" src="/media/js/django_filter.js"/>
<script type="text/javascript">
	var REPT_ID = {{ report.id }}
</script>
{% endblock %}
{% block breadcrumbs %}
    {{ block.super }}
    &rsaquo; <li class='crumb'> Details</li>
{% endblock %}
{% block content %}
<div id='report_inner'>
    <h2>{{ report.title }} (on {{ report.type }})</h2>
    <p>{{ report.description }}</p>
    <div id='example'>
	{% example_table report %}
    </div>
	<form id="get_all" action="csv" method="get">
		<div id="button_div" class="submit-row">
			<input type="submit" value="Download all records ({{ count }})"/>
			<input id="filter_btn" type="submit" value="Create a filter"/>
		</div>
	</form>
</div>
{% endblock %}

